package ex4.multiThread;

class MyThread3 implements Runnable {
	@Override
	public void run() {
		System.out.println(Thread.currentThread().getName());
	}
}

public class TestDemo3 {
	public static void main(String[] args) throws Exception {
		MyThread3 mt = new MyThread3();
		new Thread(mt, "自己的线程对象").start();
		//mt.run(); // 直接调用run()方法，main
	}
}
